package com.hsgene.order.domain.applets;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 小程序订单列表信息
 *
 * @author wxf
 * @date 2018/10/17 10:28
 **/
public class AppletsOrderListInfoDto implements Serializable {

    /**
     * 订单id
     */
    private String orderId;
    /**
     * 创建时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createTime;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 总价
     */
    private Double totalCharges;
    /**
     * 状态
     */
    private int status;
    /**
     * 状态label
     */
    private String statusLabel;

    /**
     * 套餐
     */
    private List<AppletsOrderPackageInfoDto> packageList;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Double getTotalCharges() {
        return totalCharges;
    }

    public void setTotalCharges(Double totalCharges) {
        this.totalCharges = totalCharges;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getStatusLabel() {
        return statusLabel;
    }

    public void setStatusLabel(String statusLabel) {
        this.statusLabel = statusLabel;
    }

    public List<AppletsOrderPackageInfoDto> getPackageList() {
        return packageList;
    }

    public void setPackageList(List<AppletsOrderPackageInfoDto> packageList) {
        this.packageList = packageList;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
}
